package com.xunlai.infra.permission.storage.repository;

import com.xunlai.infra.permission.storage.entity.Role;

import java.util.Optional;

/**
 * @author liang
 * @date 2022/12/2 09:12
 */
public interface RoleRepository extends BaseAllRoundRepository<Role,Long>{

    Optional<Role> findByRoleNameOrRoleCode(String roleName,String roleCode);

}
